Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec

Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec
Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec

The Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec schema describes creation information about file attributes specific to Posix guest operating systems.

This schema was added in vSphere API 7.0.2.0.

JSON Example
{
    "owner_id": 0,
    "group_id": 0,
    "permissions": "string"
}
integer As int64 As int64
owner_id
Optional

The owner ID. If this property is not specified when passing a Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec object to POST /vcenter/vm/{vm}/guest/filesystem?action=create, the default value will be the owner Id of the user who invoked the file transfer operation.

This property was added in vSphere API 7.0.2.0.

Defaults to uid of user invoking the operation.

integer As int64 As int64
group_id
Optional

The group ID. If this property is not specified when passing a Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec object to POST /vcenter/vm/{vm}/guest/filesystem?action=create, the default value will be the group Id of the user who invoked the file transfer operation.

This property was added in vSphere API 7.0.2.0.

Defaults to gid of user invoking the operation.

string
permissions
Optional

The file permissions in chmod(2) format. If this property is not specified when passing a Vcenter Vm Guest Filesystem Transfers PosixFileAttributesCreateSpec object to POST /vcenter/vm/{vm}/guest/filesystem?action=create, the file will be created with 0644 permissions. This property is interpreted as octal.

This property was added in vSphere API 7.0.2.0.

Defaults to 0644.